#include "user_print.h"
#include"shell.h"
static void help()
{
  struct finsh_syscall *p;
  char name[10];
  p=(struct finsh_syscall *)finsh_start;
  user_printf("----------------------------------------------\r\n");
  user_printf("%15s\t\t\tdesc\r\n","name");
  user_printf("----------------------------------------------\r\n");
  for(;p<finsh_end;p++)
  {
    sscanf(p->name,"__cmd_%s",name);
    user_printf("%15s\t\t\t%s\r\n",name,p->desc);
  }
  user_printf("----------------------------------------------\r\n");
}
static void clear()
{
    user_printf("\f");
}
SH_CMD(clear,"clear Putty");
SH_CMD(help,"list all shell cmd");
